package com.ityuhao.tech.concurrency.atomic;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
import java.util.concurrent.atomic.LongAdder;

@Slf4j
public class AtomicDemo1 {

    public static void main(String[] args) {
        int x = 1;
        for (int i = 0; i < 5000; i++) {
            x++;
        }
        log.info(x + "");
    }

}
